import args_parser
import os.path
import time
import lts
import sys
import os

TOP_OF_THE_STACK = -1

if __name__ == "__main__":
	# Parseo los argumentos de entrada.
	system = args_parser.parse(sys.argv[1:],1,1)["system"]
	# Recorro la lista de subsistemas.
	for subsystem in system:
		print "\nPath for subsystem", subsystem.name, subsystem.get_event_set('o')
		for p in subsystem.list_paths():
			print ((lts.path_to_string((p,subsystem),None)).split('\t'))[0]
